package sampleProgr;

import annotationI.SaferParam;
import proxy.IAdd;

public class BasicObject implements IAdd{
	private int i;
	public Integer myInt;
	
	public BasicObject(int i) {
		this.i = i;
	}
	
	public int getI(){
		return i;
	}
	
	public void setMyInt(Integer myInteger){
		myInteger = myInt;
	}
	
	public int add(){
		return ++myInt;
	}
	
	@SaferParam(param = { 1 })
	public int add(Integer o){
		return myInt + o;
	}
}